
const main = require('../main/main');

describe('main()', () => {
    it(`the number given by system is 1234,the number that you input is 1234`,function(){
        let number1 = 1234;
        let number2 = 1234;
        let result=main(number1,number2);
        expect(result).toEqual('4A0B');
    })
    it(`the number given by system is 1234,the number that you input is 1234`,function(){
        let number1 = 1234;
        let number2 = 3245;
        let result=main(number1,number2);
        expect(result).toEqual('1A2B');
    })
    it(`the number given by system is 1234,the number that you input is 1234`,function(){
        let number1 = 1234;
        let number2 = 2345;
        let result=main(number1,number2);
        expect(result).toEqual('0A3B');
    })
});